<%-- 
    Document   : delete
    Created on : 24-jul-2012, 13:43:23
    Author     : Froy
--%>

<%@page import="s.f.usuarios.CRUD_Usuarios"%>
<%@page import="java.io.Console"%>
<%@page import="s.f.empleados.CRUD_Empleados"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    if(request.getMethod().equals("POST")){
        if(request.getParameter("EMAIL") != null){
            CRUD_Usuarios.deleteUsuario(request.getParameter("EMAIL"));
        }
    }
    response.sendRedirect("/empleados/usuarios/show.jsp");
%>
